/**   
 * Copyright © 2018 嘉源锐信. All rights reserved.
 * 
 * @Title: DefinedMessageConsumerHandler.java 
 * @Project: mq-consumer-client
 * @Package: com.huntkey.rx.sceo.mq.consumer.client.config 
 * @Description: TODO
 * @author: liuyong0   
 * @date: 2018年9月13日 上午10:44:09 
 * @version: V1.0   
 */
package com.amos.mqclient.consumer.listener;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/** 
 * @ClassName: DefinedMessageConsumerHandler 
 * @Description: TODO
 * @author: liuyong0
 * @date: 2018年9月13日 上午10:44:09  
 */
@Component
public class DefinedMessageHandler extends MessageHandler {
	
	private static final Logger logger = LoggerFactory.getLogger(DefinedMessageHandler.class);

	/**
	 * 暴露给消费者的消息类
	 * @param message
	 * @throws Exception
	 */
	@Override
	public void messageHandler(String message) throws Exception {
		logger.info("收到消息："+message);
	}
	
}
